package com.jzo2o.customer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.common.model.PageResult;
import com.jzo2o.customer.model.domain.WorkerCertification;
import com.jzo2o.customer.model.domain.WorkerCertificationAudit;
import com.jzo2o.customer.model.dto.WorkerCertificationUpdateDTO;
import com.jzo2o.customer.model.dto.request.CertificationAuditReqDTO;
import com.jzo2o.customer.model.dto.request.WorkerCertificationAuditPageQueryReqDTO;
import com.jzo2o.customer.model.dto.response.WorkerCertificationAuditResDTO;

public interface WorkerCertificationAuditService extends IService<WorkerCertificationAudit> {
    void addAuthentication(WorkerCertificationUpdateDTO workerCertificationUpdateDTO);

    WorkerCertificationAuditResDTO getReason();

    WorkerCertificationAuditResDTO getCertificationStatus(Integer userType, Long providerId);

    WorkerCertificationAudit getselectById(Long id);

    PageResult<WorkerCertificationAuditResDTO> getpage(WorkerCertificationAuditPageQueryReqDTO workerCertificationAuditPageQueryReqDTO);

    WorkerCertificationAudit findByServeProviderId(String serveProviderId);

    void audit(CertificationAuditReqDTO certificationAuditReqDTO);


}
